pub fn rc_to_desc_string(rc: i32) -> String {
    match rc {
        {% for key, value in rc_int_code -%}
        {{ key }} => String::from("{{ value }}"),
        {% endfor -%}
        e => format!("UNKNOWN_RC_{}", e), 
    }
}

pub fn cc_to_desc_string(cc: i32) -> String {
    match cc {
        {% for key, value in cc_int_code -%}
        {{ key }} => String::from("{{ value }}"),
        {% endfor -%}
        e => format!("UNKNOWN_CC_{}", e),
    }
}
